<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // var a=1;
        // console.log(typeof a);
        // var xd=new Number(2);
        // console.log(xd);
        var a=3,
            b=3.4;
        console.log(Number.isInteger(a));
        console.log(Number.isInteger(b));
    </script>
</body>
</html>